package com.night.attendance.feign;

import com.night.common.entity.ResultVo;
import com.night.common.entity.administration.Teacher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Dark-Morning
 * <p>
 * 2022/10/25 12:02
 */
@FeignClient("student-lesson-score-evaluate")
@RequestMapping("/api/v1/student")
public interface StudentFeign {

    @GetMapping("/mycounselor/{studentId}")
    ResultVo<Teacher> getCourseByStudent(@PathVariable("studentId") int studentId);
}
